/*
 * @(#)ListUserMemberForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.user.web;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.dcivision.framework.web.AbstractSearchForm;

/**
  ListUserMemberForm.java

  The ActionForm for ListUserMember

    @author          Jenny Li
    @company         DCIVision Limited
    @creation date   26/10/2004
    @version         $Revision: 1.3 $
*/
public class ListUserMemberForm extends AbstractSearchForm {

  public static final String REVISION = "$Revision: 1.3 $";

  protected String userRoleID = null;
  protected String userRecordID=null;
  protected String userGroupID=null;
  protected String[] groupList=null;
  protected String memberType=null;
  protected String opMode=null;

  public ListUserMemberForm() {
    super();
    this.setSortAttribute("updateDate");
    this.setSortOrder("DESC");
    //this.setGroupType(com.dcivision.user.bean.UserGroup.GROUP_TYPE_PUBLIC);
  }

  public String getUserRoleID() {
    return(this.userRoleID);
  }

  public void setUserRoleID(String userRoleID) {
    this.userRoleID = userRoleID;
  }
  
  public String getUserRecordID(){
    return userRecordID; 
  }
  
  public void setUserRecordID(String userRecordID){
    this.userRecordID=userRecordID; 
  }
  
  public String getUserGroupID(){
    return userGroupID; 
  }
  
  public void setUserGroupID(String userGroupID){
    this.userGroupID=userGroupID; 
  }
  
  public String getMemberType(){
    return memberType; 
  }
  
  public void setMemberType(String memberType){
    this.memberType=memberType; 
  }
  
  public String getOpMode(){
    return this.opMode; 
  }
  
  public void setOpMode(String opMode){
    this.opMode=opMode; 
  }
  
  public void reset(ActionMapping mapping, HttpServletRequest request) {
    super.reset(mapping, request);
    this.setOpMode(null);
    this.setUserRecordID("");
  }
  

}
